package com.dap.cms.governance.service;

import com.dap.cms.governance.po.CmsComponentPo;
import com.dap.cms.base.IBaseService;

import java.util.List;

/**
 * @description: t_cms_component表对应的服务接口
 * @author: Fesine
 * @createTime:2018/08/21
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2018/08/21
 */
public interface CmsComponentService extends IBaseService<CmsComponentPo> {

    void deleteCmsComponentPo(CmsComponentPo cmsComponentPo);

    /**
     *  根据用户查询CmsComponentPo列表
     * @param cmsComponentPo
     * @return
     */

    List<CmsComponentPo> listByUser(CmsComponentPo cmsComponentPo);

    /**
     * 新增组件
     * @param cmsComponentPo
     */
    void add(CmsComponentPo cmsComponentPo);

}

